#include <iostream>
int calculo(int n1,int n2);
using namespace std;
int main()
{
    int n1,n2;
    cin>>n1;
    cin>>n2;
    cout<<calculo(n1,n2);
    return 1;


}
int calculo(int n1,int n2)
{
    if(n1<n2)
    return n2;
    else
    return n1;
}
